Repository navigation
Conversation
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
4 similar comments
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
PR #1535 — validate-patchPR: #1535
Final Summary
|
PR #1535 — checker-log-analyzerPR: #1535
Detailed report: Full report
|
Qualcomm SoundWire master ports are indexed from 1, with bit 0 of port_mask reserved. Valid port numbers therefore range from 1 to maxport. Commit 69f73ad ("soundwire: qcom: Fix port exhaustion check in stream_alloc_ports") changed the port exhaustion check from pn > maxport to pn >= maxport which rejects the last valid port. On RB3gen2 (QCS6490), two WSA883x speaker amplifiers are connected to swr2, which has 8 ports. Each amplifier uses one port for playback and another for voltage and current sensing. The right amplifier's VISENSE port is mapped to master port 8, which is rejected by the new check. Since all ports in a SoundWire stream are allocated together during hw_params, this causes the stream to fail with: qcom-soundwire 3250000.soundwire: All ports busy The codec DMA backend then returns -EBUSY, preventing speaker playback. Disabling VISENSE works around the issue but also disables speaker protection. The original fix addressed an exhaustion check that could never trigger because find_first_zero_bit() returns maxport when all searched bits are set. Include the reserved bit 0 in the search so exhaustion returns maxport + 1 and restore the pn > maxport check. Link: https://lore.kernel.org/linux-arm-msm/20261012-wip-obbardc-soundwire-qcom-fix-port-off-by-one-v1-1-81f1a4c9c73a@oss.qualcomm.com/ Fixes: 69f73ad ("soundwire: qcom: Fix port exhaustion check in stream_alloc_ports") Signed-off-by: Christopher Obbard <chris.obbard@oss.qualcomm.com>
26ce6cc to
607de7f
Compare
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
|
Merge Check Failed: No Change Task Found No associated change tasks found for CR 4759091 on any of the following entities: Entities:
CR: 4759091 Please ensure the CR has a change task associated with at least one of the entities for this branch. |
Qualcomm SoundWire master ports are indexed from 1, with bit 0 reserved. Commit 6ccec91 changed the exhaustion check from pn > maxport to pn >= maxport, incorrectly rejecting the last valid port. On RB3Gen2, the right WSA883x VISENSE port maps to master port 8, causing speaker playback to fail with -EBUSY. This change includes bit 0 in the bitmap search and restores the correct bounds check.
Lore: https://lore.kernel.org/linux-arm-msm/20261012-wip-obbardc-soundwire-qcom-fix-port-off-by-one-v1-1-81f1a4c9c73a@oss.qualcomm.com/
CRs-Fixed: 4759091